import http from '../utils/http'
const url = 'http://192.168.221.237:8006'
const getall = (obj) => http({
    url: `${url}/service_user/equity/findAllEquity`,
    method: 'post',
    data: { ...obj }
})
const add = (obj) => http({
    url: `${url}/service_user/equity/insertEquity`,
    method: 'post',
    data: { ...obj }
})
const del = (equityId) => http({
    url: `${url}/service_user/equity/deleteEquity`,
    method: 'post',
    params: { equityId }
})
const mod = (obj) => http({
    url: `${url}/service_user/equity/updateEquity`,
    method: 'post',
    data: { ...obj }
})
export { getall, add, del, mod }